package com.ruoyi.edh.domain;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.SearchEntity;

/**
 * 易订货-主订单对象 edh_master_order
 *
 * @author xxx
 * @date 2020-09-02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("易订货-主订单")
public class EdhMasterOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 主订单号 */
    @Excel(name = "主订单号")
    @ApiModelProperty("主订单号")
    private String masterOrderNo;

    /** 地址id */
    @Excel(name = "地址id")
    @ApiModelProperty("地址id")
    private String addressId;
    /**收货地址 */
    @Excel(name = "收货地址手机号")
    @ApiModelProperty("收货地址手机号")
    private Long addressPhone;
    /**收货人姓名*/
    @Excel(name = "收货人姓名")
    @ApiModelProperty("收货人姓名")
    private String addressUsername;
    /**收货人地址*/
    @Excel(name = "收货人地址")
    @ApiModelProperty("收货人地址")
    private String addressDetails;
    /** 订单金额 */
    @Excel(name = "订单金额")
    @ApiModelProperty("订单金额")
    private BigDecimal orderAmount;

    /** 实付金额 */
    @Excel(name = "实付金额")
    @ApiModelProperty("实付金额")
    private BigDecimal actualAmount;

    /** 优惠卷id */
    @Excel(name = "优惠卷id")
    @ApiModelProperty("优惠卷id")
    private String couponId;
    /**优惠金额*/
    @Excel(name = "优惠金额")
    @ApiModelProperty("优惠金额")
    private String couponAmount;
    /** 运费金额 */
    @Excel(name = "运费金额")
    @ApiModelProperty("运费金额")
    private BigDecimal shipping;
    /** 支付宝收款账户id */
    @Excel(name = "支付宝收款账户id")
    @ApiModelProperty("支付宝收款账户id")
    private String sellerId;

    /** 支付宝支付单号 */
    @Excel(name = "支付宝支付单号")
    @ApiModelProperty("支付宝支付单号")
    private String tradeNo;

    /** 微店id */
    @Excel(name = "微店id")
    @ApiModelProperty("微店id")
    private Long microshopId;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty("用户id")
    private String userId;

    /** 删除状态 */
    @ApiModelProperty("删除状态")
    private Integer delFlag;


}
